#!/usr/bin/python
# -*- coding: utf-8 -*-


#列表推导式
list_01 = [i for i in range(10) if i % 2 ==0]
print(list_01)

#元组推导式
te_01 = (i for i in range(10))
print(te_01)